﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master.Master" AutoEventWireup="true" CodeBehind="account.aspx.cs" Inherits="TodayWho.account2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="stylized" class="myform">
        
            <h1>Hesap Bilgilerim</h1>
            <p>Email adresinizi veya sayfanızın kategorisini değiştirebilirsiniz.</p>

            <div style="margin-bottom:30px;height:70px">
                <label>Email
                <span class="small">Yeni email adresini giriniz.</span>
                </label>
                <asp:TextBox ID="txtEmail" runat="server" CssClass="text"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rqTxtEmail" runat="server" ControlToValidate="txtEmail" Display="Dynamic" ValidationGroup="vgChangeMail" ErrorMessage="Lütfen email adresini giriniz." >*</asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="regMail" runat="server" ControlToValidate="txtEmail" ErrorMessage="Lütfen geçerli bir email adresi giriniz." ValidationGroup="vgChangeMail"
			            ValidationExpression="^([0-9a-zA-Z]([-\.\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,9})$" >*</asp:RegularExpressionValidator>

                 <asp:Button ID="btnEmail" runat="server" CssClass="button" Text="Email Degistir" OnClick="btnEmail_onClick" ValidationGroup="vgChangeMail" />
                 
            </div>
            
           
            
            <div class="spacer"></div>

             <div style="margin-bottom:30px;height:70px">
                <label>Kategori
                <span class="small">Kategorinizi seçiniz.</span>
                </label>
                <asp:DropDownList ID="ddListCategory" runat="server" CssClass="select">
                    <asp:ListItem Text="Genel" Value="1" Selected="True"></asp:ListItem>
                    <asp:ListItem Text="Müzik" Value="2"></asp:ListItem>
                    <asp:ListItem Text="Spor" Value="3"></asp:ListItem>
                    <asp:ListItem Text="Sanat" Value="4"></asp:ListItem>
                    <asp:ListItem Text="Edebiyat" Value="5"></asp:ListItem>
                    <asp:ListItem Text="Tech" Value="6"></asp:ListItem>
                </asp:DropDownList>
                <asp:Button id="btnCategory" runat="server" OnClick="btnCategory_onClick" Text="Kategori Değiştir" CssClass="button"/> 
            </div>

            <p style="border-bottom:none"><asp:Label ID="lblMessage" runat="server" Visible="false" ForeColor="Red" ></asp:Label> </p>
            <asp:ValidationSummary ID="vsumLogin" runat="server" ValidationGroup="vgChangeMail" DisplayMode="BulletList" ShowSummary="true" />
            <div class="spacer"></div>

        </div>
</asp:Content>
